home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr28 / automn.zip / EXAMPLE.BAT < prev    next >
DOS Batch File  |  1993-03-01  |  2KB  |  45 lines

  1. @ECHO OFF
  2. CLS
  3. ECHO EXAMPLE.BAT
  4. ECHO This batch file is written for DOS 3.3 +
  5. ECHO It demonstrates some of the AUTOMAN DOS utility programs
  6. ECHO It is written to be run from AUTOMAN at 5.00PM
  7. ECHO AUTOMAN has passed the !DAY parameter, as %1
  8. ECHO Utility programs can be found in chapter 4 of the manual (And in help!)
  9. IF EXIST AMSLEEP.EXE AMSLEEP 10
  10.  
  11. ECHO Turn your CAPS and NUM keys on and off
  12.  
  13. AMCAPS ON
  14. IF EXIST AMSLEEP.EXE AMSLEEP 8
  15.  
  16. AMCAPS OFF
  17. IF EXIST AMSLEEP.EXE AMSLEEP 8
  18.  
  19. IF NOT EXIST AMNUM.EXE ECHO AMNUM.EXE CANNOT BE FOUND - N.A. WITH SHAREWARE
  20. IF NOT EXIST AMNUM.EXE ECHO VERSION TO KEEP YOUR PHONE COSTS DOWN !
  21. AMNUM OFF
  22. IF EXIST AMSLEEP.EXE AMSLEEP 8
  23.  
  24. AMNUM ON
  25. IF EXIST AMSLEEP.EXE AMSLEEP 8
  26.  
  27. ECHO Make the computer beep 6 times
  28. AMBEEP 6
  29.  
  30. ECHO The following command will cause AUTOMAN to go straight to View DOS
  31. ECHO screen once AUTOMAN is loaded. The program will then immediately return
  32. ECHO to Monitor Mode. The DOS screen only appears for 0.2 seconds !
  33. ECHO The program run is called AMFILL, which fills the keyboard buffer with
  34. ECHO characters, and is passed the following parameters
  35. ECHO       {0}{47}D{27}{27}{27}
  36. ECHO       ^Simulates the user pressing ALT-V key for the view menu
  37. ECHO              ^Simulates the user pressing the D key for View DOS screen
  38. ECHO               ^Exits the View DOS Screen
  39. ECHO                   ^Exits the View menu
  40. ECHO                       ^Exits the Main menu
  41. IF EXIST AMSLEEP.EXE AMSLEEP 60
  42.  
  43. AMFILL {0}{47}D{27}{27}{27}
  44.  
  45.